package chixing.day13.class32;

public class Student implements MyCompare<Student> {
    private String name;
    private int stuNo ;
    private String stuTelNo;
    private int stuPersonId;
    public Student(String name, int stuNo, String stuTelNo, int stuPersonId)
    {
        this.name = name;
        this.stuNo = stuNo;
        this.stuTelNo = stuTelNo;
        this.stuPersonId = stuPersonId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getStuNo() {
        return stuNo;
    }

    public void setStuNo(int stuNo) {
        this.stuNo = stuNo;
    }

    public String getStuTelNo() {
        return stuTelNo;
    }

    public void setStuTelNo(String stuTelNo) {
        this.stuTelNo = stuTelNo;
    }

    public int getStuPersonId() {
        return stuPersonId;
    }

    public void setStuPersonId(int stuPersonId) {
        this.stuPersonId = stuPersonId;
    }

    @Override
    public String toString() {
        return "Student{" +
                "name='" + name + '\'' +
                ", stuNo=" + stuNo +
                ", stuTelNo='" + stuTelNo + '\'' +
                ", stuPersonId=" + stuPersonId +
                '}';
    }

    @Override
    public int compare(Student anotherObj) {
        return 0;
    }
}
